/*购物车页面*/

html,
body {
    width: 100%;
    height: 100%;
}

.head {
    width: 100%;
    min-width: 960px;
    background-color: #fff;
    border-bottom: 2px solid #7e0001;
    margin-bottom: 20px;
    position: relative;
    z-index: 1000;
}

.h_top {
    background: url(../img/shopping_cart/bg_header.png)no-repeat;
    background-repeat: repeat-x;
    position: relative;
    .main {
        width: 960px;
        height: 30px;
        position: relative;
        ul.ht_left li {
            float: left;
            padding: 7px;
            line-height: 16px;
            height: 16px;
            color: #85726c;
            em {
                color: #c53f4c;
                font-size: 14px;
                font-style: normal;
            }
        }
        ul.ht_left .login {
            a {
                color: #85726c;
                &:hover {
                    color: #c53f4c;
                }
            }
        }
        ul.ht_left .register {
            background: url(../img/shopping_cart/bg_header3.png)no-repeat;
            background-position: -180px -200px;
            a {
                color: #85726c;
                font-weight: bold;
                &:hover {
                    color: #c53f4c;
                }
            }
        }
        .ht_right {
            li {
                float: left;
                padding: 7px;
                line-height: 16px;
                height: 16px;
                color: #85726c;
                a {
                    color: #85726c;
                    &:hover {
                        color: #c53f4c;
                        text-decoration: underline;
                    }
                }
                ul li {
                    float: none;
                }
            }
            .zhanghu {
                position: relative;
                background: url(../img/shopping_cart/bg_header3.png)no-repeat;
                background-position: -180px -200px;
                .zh_a {
                    background: url(../img/shopping_cart/bg_header.png)no-repeat;
                    background-position: right -187px;
                    display: block;
                    padding-right: 10px;
                    em {
                        font-style: normal;
                        margin-left: 5px;
                        font-weight: bold;
                        color: #c53f4c;
                    }
                }
                ul {
                    display: none;
                    position: absolute;
                    top: 30px;
                    left: 0;
                    background-color: #fff;
                    width: 100px;
                    padding: 5px 0;
                    color: #5b473d;
                    li {
                        height: 24px;
                        line-height: 24px;
                        overflow: hidden;
                        a {
                            display: block;
                            color: #5b473d;
                            padding: 0 8px;
                            &:hover {
                                color: #fff;
                                background-color: #c53f4c;
                                text-decoration: none;
                            }
                        }
                    }
                }
            }
            .myphone {
                position: relative;
                background: url(../img/shopping_cart/bg_header3.png)no-repeat;
                background-position: -180px -200px;
                .mp_a {
                    background: url(../img/shopping_cart/bg_header3.png)no-repeat;
                    background-position: -180px -182px;
                    padding-left: 15px;
                }
                ul {
                    display: none;
                    width: 280px;
                    position: absolute;
                    top: 30px;
                    left: 0;
                    background-color: #fff;
                    color: #5b473d;
                    .app_top {
                        height: 18px;
                        line-height: 18px;
                        color: #85726c;
                        padding: 5px 10px;
                    }
                    .app_center {
                        height: 110px;
                        background: #f4f4f4;
                        padding: 5px 10px;
                        overflow: hidden;
                        line-height: 24px;
                        dl {
                            dt {
                                float: left;
                                width: 110px;
                                height: 110px;
                                img {
                                    border: 0;
                                }
                            }
                            dd {
                                display: block;
                                margin-left: 120px;
                                h2 {
                                    line-height: 22px;
                                    font-weight: bold;
                                    color: #73584a;
                                }
                                a {
                                    display: block;
                                    color: #5b473d;
                                    img {
                                        display: inline-block;
                                        border: 0;
                                    }
                                }
                            }
                        }
                    }
                    .app_bottom {
                        @extend .app_top;
                        a {
                            height: 18px;
                            line-height: 18px;
                            color: #0695d9;
                            padding: 0 8px;
                        }
                    }
                }
                .arrow-top {
                    width: 14px;
                    height: 7px;
                    background: url(../img/shopping_cart/bg_header3.png)no-repeat;
                    background-position: -123px -183px;
                    position: absolute;
                    top: 24px;
                    left: 50%;
                    display: none;
                    &:hover {
                        text-decoration: none;
                    }
                }
            }
            .shezhi {
                position: relative;
                background: url(../img/shopping_cart/bg_header3.png)no-repeat;
                background-position: -180px -200px;
                a {
                    color: #85726c;
                    font-weight: bold;
                }
            }
        }
    }
}

.h_bottom {
    position: relative;
    top: 0;
    left: 0;
    background-color: #f1eeed;
    height: 100px;
    .main {
        width: 960px;
        .hb_logo {
            width: 196px;
            height: 100px;
            background: url(../img/shopping_cart/logo2.png)no-repeat left center;
            display: inline;
            a {
                float: left;
                display: inline;
                width: 196px;
                background-size: contain;
                height: 100px;
                text-indent: -10000px;
                overflow: hidden;
            }
        }
        .crumbCart {
            width: 479px;
            height: 39px;
            margin: 30px 0;
            text-indent: -999px;
            overflow: hidden;
            background: url(../img/shopping_cart/cart_step.png)no-repeat;
        }
    }
}

.content {
    min-height: 300px;
    padding-bottom: 20px;
    display: block;
    .main {
        min-width: 960px;
        background-color: #fff;
        margin-left: 286px;
    }
}

.c_top {
    position: relative;
    z-index: 500;
    h1 {
        height: 43px;
        .listCartClose {
            width: 712px;
            height: 43px;
            position: relative;
            float: left;
            span {
                border-right: 2px solid #e5e5e5;
                border-bottom: 2px solid #e5e5e5;
                p {
                    width: 700px;
                    height: 34px;
                    line-height: 34px;
                    border: 1px solid #ccc;
                    padding-left: 10px;
                    color: #666;
                    font-size: 12px;
                    font {
                        color: #f60;
                        font-size: 12px;
                    }
                    a.close {
                        background: url(../img/shopping_cart/global_btnIcon.png)no-repeat;
                        width: 13px;
                        height: 20px;
                        display: block;
                        text-indent: -999px;
                        overflow: hidden;
                        background-position: -317px -120px;
                        position: absolute;
                        left: 690px;
                        top: 11px;
                    }
                }
                i {
                    width: 2px;
                    height: 2px;
                    display: block;
                    overflow: hidden;
                    position: absolute;
                    left: 620px;
                    top: 0;
                    clear: both;
                }
                i.b {
                    left: 0;
                    top: 34px;
                }
                s {
                    width: 14px;
                    height: 9px;
                    text-indent: -9999px;
                    overflow: hidden;
                    background: url(../img/shopping_cart/titleCartTopBg.png)no-repeat;
                    position: absolute;
                    top: 35px;
                    left: 40px;
                    z-index: 4;
                }
            }
        }
    }
    ul {
        width: 960px;
        li {
            float: left;
            margin: 5px 0 15px;
            display: inline;
        }
        .cartList {
            border: 5px solid #e7e7e7;
            .radio {
                padding: 5px;
                height: 30px;
                line-height: 30px;
                border-bottom: 2px solid #e0dad8;
                background-color: #f1eeeb;
                font-weight: bold;
                font-size: 14px;
                span {
                    float: right;
                    position: relative;
                    width: 70px;
                    height: 17px;
                    line-height: 17px;
                    margin-top: 7px;
                    display: block;
                    background: url(../img/shopping_cart/cart_icon.png)no-repeat 0 -86px;
                    text-align: center;
                    color: #fff;
                    cursor: pointer;
                    b {
                        font-weight: bold;
                    }
                    i {
                        position: absolute;
                        top: 5px;
                        right: 7px;
                        display: block;
                        width: 0;
                        height: 0;
                        border: 5px solid #c75050;
                        border-top-color: #fff;
                    }
                }
                .radio_lf {
                    float: left;
                    height: 30px;
                    input {
                        display: none;
                        float: left;
                        height: 30px;
                        vertical-align: middle;
                        margin-right: 5px;
                        font-size: 100%;
                    }
                    label {
                        float: left;
                        cursor: default;
                        b {
                            background: url(../img/shopping_cart/radio_s.png)no-repeat 0 0;
                            width: 16px;
                            height: 16px;
                            display: inline-block;
                            margin-left: 5px;
                            vertical-align: middle;
                            font-weight: bold;
                        }
                    }
                }
            }
            .top {
                width: 960px;
                float: left;
                .boxBorRed {
                    border-top: 2px solid #85726c;
                    width: 960px;
                    .trTitle {
                        position: relative;
                        z-index: 51;
                        table {
                            background-color: #f1eeeb;
                            width: 100%;
                            tbody {
                                display: table-row-group;
                                vertical-align: middle;
                                border-color: inherit;
                                td {
                                    padding: 0 5px;
                                    text-align: center;
                                    display: table-cell;
                                    input {
                                        vertical-align: middle;
                                        font-size: 100%;
                                    }
                                }
                            }
                        }
                    }
                    .marginTop {
                        position: relative;
                        z-index: 52;
                        float: left;
                        display: inline;
                        margin-top: -1px;
                        background-color: #fff;
                        .inTable {
                            float: left;
                            width: 960px;
                            font-family: Arial;
                        }
                    }
                    .trFooter {
                        position: relative;
                        z-index: 49;
                        float: left;
                        display: inline;
                        border-top: 1px dotted #9e9694;
                        background-color: #f1eeeb;
                        ul {
                            padding: 15px;
                            width: 928px;
                            border: 1px solid #ccc;
                            float: left;
                            li {
                                float: left;
                                padding: 0 15px 0 5px;
                                width: auto;
                                height: 40px;
                                line-height: 40px;
                                display: inline;
                                input {
                                    vertical-align: -1px;
                                }
                            }
                        }
                    }
                }
            }
        }
        .chooseResult {
            padding: 10px 0;
            width: 960px;
            border-bottom: 2px solid #e0dad8;
            text-align: right;
            .subtotal {
                span {
                    padding-left: 25px;
                    color: #666;
                    b {
                        color: #d63939;
                        font: normal bold 14px Arial;
                    }
                }
            }
        }
        .buy {
            padding-top: 5px;
            .listCart-fixed {
                position: fixed;
                width: 100%;
                bottom: 0;
                left: 50%;
                margin-left: -50%;
                background: #eee;
                box-shadow: 0 -3px 10px rgb(0, 0, 0 / 20%);
                float: left;
                z-index: 500;
                ul {
                    padding: 10px 0;
                    margin: 0 auto;
                    float: none;
                    width: 960px;
                    li {
                        width: 960px;
                        float: left;
                        display: inline;
                        .payexpress {
                            width: 514px;
                            color: #666666;
                            float: left;
                        }
                        a {
                            display: inline;
                            height: 50px;
                            line-height: 50px;
                            float: left;
                            margin-right: 10px;
                            text-align: center;
                            font: normal 14px/40px \5b8b\4f53;
                            cursor: pointer;
                        }
                        .a1 {
                            float: right;
                            margin-right: 0;
                            width: 210px;
                            border: 0;
                            background: url(../img/shopping_cart/cart_icon.png)no-repeat 0 0;
                            color: #fff;
                            font-size: 22px;
                        }
                        .a2 {
                            position: relative;
                            width: 150px;
                            background: url(../img/shopping_cart/cart_icon.png)no-repeat 7px -189px;
                            font-size: 12px;
                        }
                        .yhq {
                            position: relative;
                            padding: 0 10px;
                            width: 180px;
                            text-align: left;
                            color: #d63939;
                            float: left;
                            display: inline;
                            margin-right: 10px;
                            height: 50px;
                            line-height: 50px;
                            cursor: pointer;
                            font: normal 14px/40px \5b5b\4f53;
                            background: url(../img/shopping_cart/cart_icon.png)no-repeat 8px -227px;
                            text-indent: 22px;
                        }
                        .total_price {
                            float: right;
                            width: auto;
                            border: 0;
                            font-size: 12px;
                            cursor: default;
                            b {
                                font-weight: bold;
                                font-size: 14px;
                                color: #d63939;
                            }
                            strong {
                                font-weight: bold;
                            }
                            em {
                                color: #999;
                                font-style: normal;
                            }
                            i {
                                color: #d63939;
                                font-size: 14px;
                            }
                            b.total {
                                font-size: 24px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.c_bottom {
    float: left;
    overflow: hidden;
    width: 958px;
    height: auto;
    border: 1px solid #ded7d1;
    margin-top: 10px;
    .bd {
        width: 100%;
        height: 30px;
        border-bottom: 1px solid #ded7d1;
        background: #f1eeeb;
        color: #363636;
        text-align: left;
        font-weight: normal;
        font-size: 14px;
        line-height: 30px;
        li {
            float: left;
            display: block;
            padding: 0 20px;
            height: 30px;
            line-height: 30px;
            cursor: pointer;
            border-right: 1px solid #ded7d1;
        }
        li.on {
            border-bottom: 1px solid #fff;
            background: #fff;
        }
    }
    .hd {
        display: none;
        overflow: hidden;
        width: 965px;
        height: 327px;
        .goodlist {
            overflow: hidden;
            width: 222px;
            margin: 14px 0;
            margin-right: -1px;
            padding: 0 1% 0 8px;
            border-right: 1px dotted #ded7d1;
            a {
                display: block;
                float: left;
                color: #333;
                img {
                    float: left;
                    width: 85px;
                    height: 135px;
                    background: #fff url(../img/shopping_cart/loading.gif)no-repeat center center;
                }
            }
            dl {
                float: right;
                width: 130px;
                .otherBlock {
                    a {
                        color: #333;
                        cursor: pointer;
                        &:hover {
                            color: #c53f4c;
                        }
                    }
                    span.en {
                        display: block;
                        overflow: hidden;
                        width: 100%;
                        height: 22px;
                        color: #666;
                        line-height: 22px;
                        text-overflow: ellipsis;
                    }
                    p {
                        padding: 5px 0;
                        .change_price {
                            padding-right: 5px;
                            color: #d63c3c;
                            font-weight: bold;
                        }
                        .jj_box {
                            float: left;
                            display: block;
                            margin-right: 60px;
                            margin-bottom: 8px;
                            width: 65px;
                            height: 24px;
                            line-height: 24px;
                            a {
                                float: left;
                                width: 12px;
                                height: 22px;
                                border: 1px solid #d3c6c0;
                                background: #f1edeb;
                                text-align: center;
                                line-height: 22px;
                            }
                            a.subAmount {
                                border-right: 0;
                            }
                            a.addAmount {
                                border-left: 0;
                            }
                            .editAmount {
                                float: left;
                                width: 30px;
                                height: 22px;
                                border: 1px solid #bea9a0;
                                text-align: center;
                                line-height: 22px;
                                vertical-align: middle;
                            }
                        }
                        .exchange {
                            float: left;
                            display: block;
                            padding: 4px 10px;
                            border-radius: 2px;
                            background: #c75151;
                            color: #fff;
                            text-align: center;
                            font-size: 12px;
                            text-decoration: none;
                            &:hover {
                                background: #973434;
                            }
                        }
                    }
                }
            }
        }
    }
}

.foot {
    width: 100%;
    padding-bottom: 100px;
    margin: 20px auto;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.f_top {
    padding: 5px 0;
    color: #999;
    text-align: center;
    line-height: 20px;
    span {
        display: inline-block;
        height: 20px;
        background: url(../img/register/bg_header2.png)no-repeat;
    }
    .top100 {
        padding-left: 22px;
        background-position: -180px -230px;
    }
    .line {
        background-position: 200px -140px;
    }
    .age18 {
        padding-left: 22px;
        background-position: -180px -250px;
    }
    a {
        color: #999;
    }
    .shzxw {
        padding-left: 22px;
        background-position: -180px -270px;
    }
    .shgs {
        padding-left: 22px;
        background-position: -180px -290px;
    }
    .jgawb {
        background-position: 200px -140px;
    }
}

.f_bottom {
    color: #999;
    text-align: center;
    line-height: 30px;
    a {
        color: #999;
        &:hover {
            text-decoration: underline;
        }
    }
    .cx {
        margin: 0 auto;
        width: 356px;
        .hgwb {
            margin-left: 10px;
            display: inline;
            a {
                img {
                    height: 40px;
                    aspect-ratio: auto 112/40;
                    width: 112px;
                }
            }
        }
        .wgdjp {
            @extend .hgwb;
            margin-top: 10px;
            a {
                img {
                    height: 120px;
                    aspect-ratio: auto 120/120;
                    width: 120px;
                }
            }
        }
    }
}